-
Notifications
You must be signed in to change notification settings - Fork 16
Add hook to restore filtered deps for Graphviz #148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Caspar van Leeuwen <[email protected]>
Co-authored-by: Caspar van Leeuwen <[email protected]>
casparvl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm now getting:
--prefix=/home/casparl/eessi/versions/2023.06/software/linux/x86_64/amd/zen2/software/Graphviz/8.1.0-G
CCcore-12.3.0 --with-ltdl-lib=/cvmfs/software.eessi.io/versions/2023.06/compat/linux/x86_64/usr/lib64
--enable-ltdl --enable-ruby=no --with-javalibdir=$JAVA_HOME/lib --enable-ocaml=no
--with-javaincludedir=$JAVA_HOME/include --enable-r=no --enable-guile=no --without-included-ltdl
--with-zlibdir=/cvmfs/software.eessi.io/versions/2023.06/compat/linux/x86_64/usr/lib64
--with-javaincludedir=$JAVA_HOME/include/linux --with-zlibdir=$EBROOTZLIB/lib --disable-ltdl-install
--with-ltdl-include=$EBROOTLIBTOOL/include --enable-lua=no --enable-php=no
--with-expatlibdir=$EBROOTEXPAT/lib --with-expatincludedir=$EBROOTEXPAT/include --enable-python3=yes
--with-zincludedir=$EBROOTZLIB/include
Two questions:
- The options
--with-ltdl-liband--with-zlibdirare now unconditionally added. Wouldn't it be better to only set those options if they were already set? I mean, we don't know what will change upstream in EasyBuild to the Graphviz installation. I guess setting the lib dirs is rather 'innocent', but why not use youritem.startswithcheck to only replace that particular item _if it exists? - I also see
--with-zincludedir=$EBROOTZLIB/include. It's not leading to issues (my build completes just fine), but I guess that should be replaced too with the equivalent include dir from the compat layer, right?
|
It's weird that you are still seeing double
Can adapt it i think i wanted to avoid to many nested loops for checks, and the flags are there up to the latest version EDIT: Done in a394fd2
The way we set the |
Aaah, ok, that makes sense - sorry, I missed that crucial point.
Ok, retesting... |
casparvl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Testing, I get:
./autogen.sh NOCONFIG && ./configure --prefix=/home/casparl/eessi/versions/2023.06/software/linux/x86_64/amd/zen2/software/Graphviz/8.1.0-GCCcore-12.3.0 --enable-ruby=no --enable-python3=yes --enable-guile=no --enable-ltdl --with-javaincludedir=$JAVA_HOME/include
--enable-php=no --with-ltdl-include=$EBROOTLIBTOOL/include --disable-ltdl-install --enable-r=no --enable-lua=no --with-expatlibdir=$EBROOTEXPAT/lib --with-javaincludedir=$JAVA_HOME/include/linux --with-zlibdir=/cvmfs/software.eessi.io/versions/2023.06/compat/linux/x86_64/usr/lib64
--with-ltdl-lib=/cvmfs/software.eessi.io/versions/2023.06/compat/linux/x86_64/usr/lib64 --with-zincludedir=$EBROOTZLIB/include --enable-ocaml=no --without-included-ltdl --with-expatincludedir=$EBROOTEXPAT/include --with-javalibdir=$JAVA_HOME/lib
So both option now occur only once, and have the correct value. (local) Build is successful. Approved!
|
bot: build repo:eessi.io-2023.06-software instance:eessi-bot-mc-aws for:arch=x86_64/amd/zen2 |
|
New job on instance
|
|
New job on instance
|
Graphviz ECs use
$EBROOTLIBTOOLand$EBROOTZLIBin theirconfigoptsAddresses build failure in